
































  
  


  

  
  	
  

  

	
	

	
	
	
	
	




  
















	
	
	
	
	
	
	
	
	
	
  
  


	


	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	




    
  






  
    
  




	
	
	
	
	



<!--NewPage-->
<HTML>

<!-- Mirrored from delerium:8503/cfcdoc/content.cfm?file=C%3A%5CInetpub%5Cwwwroot%5Ctransfer%2Droot%5Ctransfer%5Ccom%5Ctql%5Cwalkers%5CFrom%2Ecfc by HTTrack Website Copier/3.x [XR&CO'2006], Sat, 07 Apr 2007 03:17:40 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack -->
<HEAD>

<!-- Generated by CFDoc on 07-Apr-2007 01:17 PM -->

<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY>


	



<HR>
<!-- ======== START OF CLASS DATA ======== -->

<div style="float:left;">

<a href="default.html" style="float: right;">Documentation home page</a>
</div>
<H2>
<span style="font-size: smaller">
<a href="components9a4c.html" target="components">transfer.com.tql.walkers</a>
</span>
<BR>
Component From</H2>


<PRE>
<A HREF="contentda9d.html" title="">transfer.com.tql.walkers.AbstractBaseWalker</A>
  |
  +--<B>transfer.com.tql.walkers.From</B>
</PRE>


<HR>
Evaluates the from part of select statements


<HR>

<P>


<!-- ========== PROPERTY SUMMARY =========== -->

<A NAME="property_summary"><!-- --></A>




	
	
	
	

	



<!-- ========== METHOD SUMMARY =========== -->




<A NAME="method_summary"><!-- --></A>

<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">

<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>











	





	




	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_array" target="_self">array</a></CODE></TD>
	<TD><CODE><B><A HREF="#evaluateFromAST()">evaluateFromAST</A></B>(<a href="nativetypes.html#detail_any">any</a> tree,&nbsp;<a href="nativetypes.html#detail_struct">struct</a> aliasMap,&nbsp;<a href="nativetypes.html#detail_array">array</a> evaluation,&nbsp;<a href="nativetypes.html#detail_any">any</a> buffer,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> aliasColumns,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> distinctMode,&nbsp;[<a href="nativetypes.html#detail_any">any</a> pastClassIdentifierNodes="#createObject('java', 'java.util.LinkedList').init()#"])</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;walks the tree, and makes a array of structs that represent the FROM SQL and the mapped values
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_array" target="_self">array</a></CODE></TD>
	<TD><CODE><B><A HREF="#evaluateFromJoinAST()">evaluateFromJoinAST</A></B>(<a href="nativetypes.html#detail_any">any</a> tree,&nbsp;<a href="nativetypes.html#detail_struct">struct</a> aliasMap,&nbsp;<a href="nativetypes.html#detail_array">array</a> evaluation,&nbsp;<a href="nativetypes.html#detail_any">any</a> buffer,&nbsp;<a href="nativetypes.html#detail_any">any</a> pastClassIdentifierNodes,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> aliasColumns,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> distinctMode)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;walks the subtree tree, and makes the join SQL
	
	
	</TD>
	</TR>
	
</TABLE>



	
	
	
	
		
			
		
	
		
			
		
	
		
			
		
	
		
			
		
	
		
			
		
	
		
			
		
	
		
			
		
	
		
			
		
	
		
			
		
	
		
			
		
	
		
			
		
	
		
			
		
	
		
			
		
	
		
			
		
	

	
		<p>
		<table border="1" width="100%" cellpadding="3" cellspacing="0" summary="">
		<tr bgcolor="#eeeeff" class="TableHeadingColorInherited">
			<td><strong>Methods inherited from transfer.com.tql.walkers.<a href="contentda9d.html">AbstractBaseWalker</a></strong></td>
		</tr>
		<tr bgcolor="white" class="TableRowColorInherited">
			<td><code>
			
			
				<a href="contentda9d.html#init()">init</a>, 
			
				<a href="contentda9d.html#setJoin()">setJoin</a>, 
			
				<a href="contentda9d.html#getJoin()">getJoin</a>, 
			
				<a href="contentda9d.html#throw()">throw</a>, 
			
				<a href="contentda9d.html#getSelectStatement()">getSelectStatement</a>, 
			
				<a href="contentda9d.html#setObject()">setObject</a>, 
			
				<a href="contentda9d.html#getObject()">getObject</a>, 
			
				<a href="contentda9d.html#setSelectStatement()">setSelectStatement</a>, 
			
				<a href="contentda9d.html#getTQLParser()">getTQLParser</a>, 
			
				<a href="contentda9d.html#getProperty()">getProperty</a>, 
			
				<a href="contentda9d.html#getObjectManager()">getObjectManager</a>, 
			
				<a href="contentda9d.html#setTQLParser()">setTQLParser</a>, 
			
				<a href="contentda9d.html#setProperty()">setProperty</a>, 
			
				<a href="contentda9d.html#setObjectManager()">setObjectManager</a>
			
			</code></td>
		</tr>
		</table>
	

&nbsp;
<P>



<!-- ============ METHOD DETAIL ========== -->


<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>












<A NAME="evaluateFromAST()"><!-- --></A><H3>
evaluateFromAST</H3>

<PRE>
public <A HREF="nativetypes.html#detail_array" title="">array</A> <B>evaluateFromAST</B>(<a href="nativetypes.html#detail_any">any</a> tree,&nbsp;<a href="nativetypes.html#detail_struct">struct</a> aliasMap,&nbsp;<a href="nativetypes.html#detail_array">array</a> evaluation,&nbsp;<a href="nativetypes.html#detail_any">any</a> buffer,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> aliasColumns,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> distinctMode,&nbsp;[<a href="nativetypes.html#detail_any">any</a> pastClassIdentifierNodes="#createObject('java', 'java.util.LinkedList').init()#"])</PRE>
<DL>
  <DD>
  	
  	
		walks the tree, and makes a array of structs that represent the FROM SQL and the mapped values
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_any">any</a> tree</code> - The tree node to walk</DD>
			
			  <DD><code><a href="nativetypes.html#detail_struct">struct</a> aliasMap</code> - The from map</DD>
			
			  <DD><code><a href="nativetypes.html#detail_array">array</a> evaluation</code> - The array of evaluated values</DD>
			
			  <DD><code><a href="nativetypes.html#detail_any">any</a> buffer</code> - java.lang.StringBuffer for preSQL building</DD>
			
			  <DD><code><a href="nativetypes.html#detail_boolean">boolean</a> aliasColumns</code> - to alias columns or not</DD>
			
			  <DD><code><a href="nativetypes.html#detail_boolean">boolean</a> distinctMode</code> - If to make the select distinct or not</DD>
			
			  <DD><code>[<a href="nativetypes.html#detail_any">any</a> pastClassIdentifierNodes="#createObject('java', 'java.util.LinkedList').init()#"]</code> - java.util.LinkedList:keeps track of all previous class identifiers</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="evaluateFromJoinAST()"><!-- --></A><H3>
evaluateFromJoinAST</H3>

<PRE>
private <A HREF="nativetypes.html#detail_array" title="">array</A> <B>evaluateFromJoinAST</B>(<a href="nativetypes.html#detail_any">any</a> tree,&nbsp;<a href="nativetypes.html#detail_struct">struct</a> aliasMap,&nbsp;<a href="nativetypes.html#detail_array">array</a> evaluation,&nbsp;<a href="nativetypes.html#detail_any">any</a> buffer,&nbsp;<a href="nativetypes.html#detail_any">any</a> pastClassIdentifierNodes,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> aliasColumns,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> distinctMode)</PRE>
<DL>
  <DD>
  	
  	
		walks the subtree tree, and makes the join SQL
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_any">any</a> tree</code> - The tree node to walk</DD>
			
			  <DD><code><a href="nativetypes.html#detail_struct">struct</a> aliasMap</code> - The from map</DD>
			
			  <DD><code><a href="nativetypes.html#detail_array">array</a> evaluation</code> - The array of evaluated values</DD>
			
			  <DD><code><a href="nativetypes.html#detail_any">any</a> buffer</code> - java.lang.StringBuffer for preSQL building</DD>
			
			  <DD><code><a href="nativetypes.html#detail_any">any</a> pastClassIdentifierNodes</code> - keeps track of all previous class identifiers</DD>
			
			  <DD><code><a href="nativetypes.html#detail_boolean">boolean</a> aliasColumns</code> - to alias columns or not</DD>
			
			  <DD><code><a href="nativetypes.html#detail_boolean">boolean</a> distinctMode</code> - If to make the select distinct or not</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>







</BODY>

<!-- Mirrored from delerium:8503/cfcdoc/content.cfm?file=C%3A%5CInetpub%5Cwwwroot%5Ctransfer%2Droot%5Ctransfer%5Ccom%5Ctql%5Cwalkers%5CFrom%2Ecfc by HTTrack Website Copier/3.x [XR&CO'2006], Sat, 07 Apr 2007 03:17:40 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack -->
</HTML>